package org.koyad.portal.exceptions;

public interface ErrorCodes {
	
	/* =============== context listener error codes ================= */
	//Classes with duplicate annotations found
	public static final String FWKCL001 = "FWKCL001";

	//context error codes
	public static final String FWKCTX001 = "FWKCTX001";
	public static final String FWKCTX002 = "FWKCTX002";

	
	/* ============= Framework tag validation codes ============== */
	//Action not found
	public static final String FWKTV001 = "FWKTV001";

	
	/* ================= Tag handler codes ======================== */
	// Error while loading/initializing tag class
	public static final String FWKTH001 = "FWKTH001";

	
	/* ============= Framework rendering view codes ==================== */
	//Unable to write to response
	public static final String FWKRV001 = "FWKRV001";
    
	//Error while getting writer from response
	public static final String FWKRV002 = "FWKRV002";

	/* ============= Misc codes ==================== */
	//Invalid page url
	public static final String FWKMSC001 = "FWKMSC001";
	//Current tag should be instance of TileTag
	public static final String FWKMSC002 = "FWKMSC002";

	/* ============= PistonContext codes ==================== */
	//Error while setting tile
	public static final String FWKPC001 = "FWKPC001";
	//Error while resetting tile Id in view root
	public static final String FWKPC002 = "FWKPC002";
	
	/* ============= Piston session codes ==================== */
	//Session invalidation not allowed from a tile
	public static final String FWKPS001 = "FWKPC001";
	
	/* ============= Piston request codes ==================== */
	//Can't set attribute with this name.
	public static final String FWKPR001 = "FWKPR001";
	//Can't remove attribute with this name.
	public static final String FWKPR002 = "FWKPR002";

	/* ============== page builder ============== */
	//Error while creating page
	public static final String FWKPB001 = "FWKPB001";
	
}
